package com.drug.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 药品信息
 */
@Data
public class DrugInformation {
    private Integer diId;

    private String diNumer;

    private Integer diDaId;

    private String diName;

    private String diForm;

    private String diSpecifications;

    private String diDqlexplain;

    private String diBunit;

    private String diUnit;

    private String diCc;

    private Integer diDaCategory;

    private String diState;

    private String diDqlName;

    private String diTradingStatus;

    private String diRetailPrice;

    private BigDecimal diNewPrice;

    private String diPhoto;

    private String diApprovalNumber;

    private String diApprovalTerm;

    private Integer diImportDrugs;

    private String diInspectionReport;

    private Integer diInspectionNumber;

    private String diInspectionTerm;

    private String diDescription;

    private String diMaterialQuality;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date diCreateTime;

    private Integer diIsdel;

    private Integer diProcurement;

    private Integer diSdiment;

    private BigDecimal diBiddingPrice;

    private Integer diMfId;

    private Integer diSupId;
    //药品目录
    private DrugAtegory drugAtegory;
    //药品分类
    private DrugCategory drugCategory;
    //质量层次
    private DrugQualityLevel drugQualityLevel;
	//中间表
    private PodiPd podiPd;
 	private PurchaseOrder purchaseOrder;	
    //企业
    private Manufacturer manufacturer;
    //供货商
    private Supplier supplier;
	//入库表
    private PutInStorage putInStorage;
	//医院表
    private SdiDiInf sdiDiInf;

    private Hospital hospital;

    private DirgRg dirgRg;
}